<?php echo $header; ?>

<div id="content"><?php echo $content_top; ?>
 
    <div class="col690 fl mgt20">



<?php if ($success) { ?>

<div class="recover-success"><div class="notify success">
    <?php echo $success; ?>
    </div></div>
<?php } ?>

<?php if ($error_warning) { ?>
<div class="recover-warning">
<div class="notify warning">
<?php echo $error_warning; ?>
</div></div>
<?php } ?>



	<h2 class="mod-tile"><?php echo $heading_title; ?></h2>

<h2 class="mod-tile"><?php echo $text_address_book; ?></h2>
  <?php foreach ($addresses as $result) { ?>
  <div class="content">
    <table style="width: 100%;">
      <tr>
        <td><?php echo $result['address']; ?></td>
        <td style="text-align: right;"><a href="<?php echo $result['update']; ?>" class="button"><?php echo $button_edit; ?></a> &nbsp; <a href="<?php echo $result['delete']; ?>" class="button"><?php echo $button_delete; ?></a></td>
      </tr>
    </table>
  </div>
  <?php } ?>
  <div class="buttons">
    <div class="left"><a href="<?php echo $back; ?>" class="small-button cancel login-page-click"><?php echo $button_back; ?></a></div>
    <div class="right"><a href="<?php echo $insert; ?>" class="small-button cancel login-page-click"><?php echo $button_new_address; ?></a></div>
  </div>
 </div>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>